<?php

abstract class Engine_Form_Validator_Abstract {

    protected $error;
    protected $context;

    abstract public function validate($value);

    public function setContext($context) {
        $this->context = $context;
    }

    public function getError() {
        return $this->error;
    }

    protected function setError($error) {
        $this->error = $error;
    }

}